package org.vy.app.ajax.service.lang;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.vy.app.ajax.IService;

public class LangService implements IService<LangResponse> {

	@Override
	public LangResponse execute(Map<String, String> params, HttpServletRequest req) {
		LangResponse rsp = new LangResponse();
		try{
			String lang=params.get("lang");
			//HttpSession session = req.getSession(false);
			//session.setAttribute(AppConstants.LANGUAGE, lang);
			rsp.setLang(lang);
		}catch(Exception e){
			e.printStackTrace();
		}
		return rsp;
	}
	
}
